home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 2.4 KB | 108 lines | [TEXT/MPS ] |
- ;
- ; File: UserInput.a
- ;
- ; Contains: User Input Event Services API
- ;
- ; Version: Technology: System 8.0
- ; Release: Universal Interfaces 3.0d3 on Copland DR1
- ;
- ; Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
- ;
- ; Bugs?: If you find a problem with this file, send the file and version
- ; information (from above) and the problem description to:
- ;
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
- IF &TYPE('__USERINPUT__') = 'UNDEFINED' THEN
- __USERINPUT__ SET 1
-
- IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
- include 'Types.a'
- ENDIF
- IF &TYPE('__KERNEL__') = 'UNDEFINED' THEN
- include 'Kernel.a'
- ENDIF
- IF FOR_SYSTEM8_PREEMPTIVE THEN
- ;
- ; extern OSStatus GetApplicationUserInterfaceCapable(KernelProcessID id, Boolean *hasUI)
- ;
- IF GENERATINGCFM THEN
- IMPORT_CFM_FUNCTION GetApplicationUserInterfaceCapable
- ENDIF
-
- ;
- ; extern OSStatus SetApplicationUserInterfaceCapable(Boolean hasUI)
- ;
- IF GENERATINGCFM THEN
- IMPORT_CFM_FUNCTION SetApplicationUserInterfaceCapable
- ENDIF
-
- ;
- ; extern OSStatus GetApplicationFrontClicksSetting(KernelProcessID id, Boolean *getFrontClicks)
- ;
- IF GENERATINGCFM THEN
- IMPORT_CFM_FUNCTION GetApplicationFrontClicksSetting
- ENDIF
-
- ;
- ; extern OSStatus SetApplicationFrontClicksSetting(Boolean getFrontClicks)
- ;
- IF GENERATINGCFM THEN
- IMPORT_CFM_FUNCTION SetApplicationFrontClicksSetting
- ENDIF
-
- ;
- ; extern OSStatus GetApplicationBackgroundOnly(KernelProcessID id, Boolean *backgroundOnly)
- ;
- IF GENERATINGCFM THEN
- IMPORT_CFM_FUNCTION GetApplicationBackgroundOnly
- ENDIF
-
- ;
- ; extern OSStatus SetApplicationBackgroundOnly(Boolean backgroundOnly)
- ;
- IF GENERATINGCFM THEN
- IMPORT_CFM_FUNCTION SetApplicationBackgroundOnly
- ENDIF
-
- ;
- ; extern OSStatus InstallIntoApplicationList(Boolean hasUI, Boolean getFrontClicks, Boolean backgroundOnly)
- ;
- IF GENERATINGCFM THEN
- IMPORT_CFM_FUNCTION InstallIntoApplicationList
- ENDIF
-
- ;
- ; extern OSStatus GetFrontApplication(KernelProcessID *id)
- ;
- IF GENERATINGCFM THEN
- IMPORT_CFM_FUNCTION GetFrontApplication
- ENDIF
-
- ;
- ; extern OSStatus SetFrontApplication(KernelProcessID id)
- ;
- IF GENERATINGCFM THEN
- IMPORT_CFM_FUNCTION SetFrontApplication
- ENDIF
-
- ;
- ; extern OSStatus GetUserInputFocus(KernelProcessID *focus)
- ;
- IF GENERATINGCFM THEN
- IMPORT_CFM_FUNCTION GetUserInputFocus
- ENDIF
-
- ;
- ; extern OSStatus SetUserInputFocus(KernelProcessID focus)
- ;
- IF GENERATINGCFM THEN
- IMPORT_CFM_FUNCTION SetUserInputFocus
- ENDIF
-
- ENDIF
- ENDIF ; __USERINPUT__
-
-